package com.shop.dingdongshoppingapi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.dingdongshoppingapi.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface UserDao extends BaseMapper<User> {
	/*
	* 修改用户密码*/
	@Update("update t_user set password=#{pass} where phone=#{phone}")
	public int updatePass(@Param("phone") String phone,@Param("pass") String pass);
}
